﻿/* 2014/3/23 */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cosmos.Serialization
{
    [AttributeUsage(AttributeTargets.Class, Inherited = false)]
    public class ClassNameAttribute : Attribute
    {
        public ClassNameAttribute(ClassNameOption option)
        {
            Option = option;
        }

        public ClassNameAttribute()
            : this(ClassNameOption.Full)
        {
        }

        public ClassNameOption Option
        {
            get;
            private set;
        }

        public string Name
        {
            get;
            set;
        }
    }
}
